<%@ page pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@ taglib uri="http://www.ld.com/shield/tags" prefix="shield"%>
<%@ page trimDirectiveWhitespaces="true" %>
<fmt:setLocale value="zh_CN"/>
<div class="show-info">
    <table class="tab-show">
    	<colgroup>
    		<col width="25%">
    		<col width="">
    	</colgroup>
        <tr>
	    	<th>
            	<label>账号名称：</label>
        	</th>
         	<td>${model.accountName }</td>
		</tr>
		<tr>
			<th>
				<label>登录账号：</label>
			</th>
         	<td>${sessionScope.session_user.loginCode}<span class="tips">[与主账号相同]</span></td>
		</tr>
        <tr>
	    	<th>
            	<label>登录密码：</label>
        	</th>
         	<td>******</td>
		</tr>
        <tr>
	    	<th>
            	<label>有效期至：</label>
        	</th>
         	<td class="shieldDatetime"><fmt:formatDate value="${model.dateUntil }" pattern="yyyy-MM-dd HH:mm:ss"/></td>
		</tr>
        <tr>
			<th>
				<label>允许访问的ip：</label>
			</th>
			<!-- pre保留textarea的换行和空格 -->
         	<td><pre>${model.allowIp }</pre></td>
		</tr>
        <tr>
	    	<th>
            	<label>创建人姓名：</label>
        	</th>
         	<td>${model.createName }</td>
		</tr>
        <tr>
	    	<th>
            	<label>创建时间：</label>
        	</th>
         	<td class="shieldDatetime">${model.createTime }</td>
		</tr>
        <tr>
	    	<th>
            	<label>修改人姓名：</label>
        	</th>
         	<td>${model.updateName }</td>
		</tr>
        <tr>
	    	<th>
            	<label>修改时间：</label>
        	</th>
         	<td class="shieldDatetime">${model.updateTime }</td>
		</tr>
        <tr>
	    	<th>
            	<label>状态：</label>
        	</th>
			<td><shield:switchOput data="-1=删除|正常" value="${model.state}"></shield:switchOput></td>
		</tr>
    </table>
    <div class="opt"></div>
</div>